package com.tudouji.project.harvest.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 过磅查询实体对象
 */
public class RecordData implements Serializable {
    private static final long serialVersionUID = 1L;
    /*磅单编号*/
    private String code;
    /*供应商*/
    private String supplier;
    /*毛重*/
    private BigDecimal mweight;
    /*皮重*/
    private BigDecimal pweight;
    /*净重*/
    private BigDecimal weight;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public BigDecimal getMweight() {
        return mweight;
    }

    public void setMweight(BigDecimal mweight) {
        this.mweight = mweight;
    }

    public BigDecimal getPweight() {
        return pweight;
    }

    public void setPweight(BigDecimal pweight) {
        this.pweight = pweight;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public RecordData(String code, String supplier, BigDecimal mweight, BigDecimal pweight, BigDecimal weight) {
        this.code = code;
        this.supplier = supplier;
        this.mweight = mweight;
        this.pweight = pweight;
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "RecordData{" +
                "code='" + code + '\'' +
                ", supplier='" + supplier + '\'' +
                ", mweight=" + mweight +
                ", pweight=" + pweight +
                ", weight=" + weight +
                '}';
    }
}
